package com.leadingsoft.pwxk.converter;

import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.AbstractConverter;
import com.leadingsoft.pwxk.dto.PoisonousDto;
import com.leadingsoft.pwxk.model.Poisonous;

/**
 * @author: lipan 2018年5月15日
 * @description: ()
 * 
 */

@Component
public class PoisonousConverter extends AbstractConverter<Poisonous, PoisonousDto> {

	@Override
	protected PoisonousDto toDtoActual(Poisonous model) {

		PoisonousDto dto = new PoisonousDto();
		dto.setId(model.getId());
		dto.setDataid(model.getDataid());
		dto.setProportion(model.getProportion());
		dto.setTahname(model.getTahname());
		dto.setTahothercontent(model.getTahothercontent());

		return dto;
	}

	@Override
	public void copyProperties(Poisonous model, PoisonousDto dto) {

	}

}
